<link href="images/skin.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>
<script type="text/javascript" src="js/jquery.js"></script>
<script language="javascript" src="js/tip.js"></script>
<script language="javascript" src="js/allcheck.js"></script>
<script language="javascript">
function del(id)
{
	if(confirm('Are you sure to delete?'))
	{
		$.post("news_catlist.php",{delid:id},function (data,textStatus)
													 {
												if(data=1)
											   {
												   info="Success";
												   msg(info);
												}
											   else{
												   info="Failure";
												   msg(info);
												   }
														 });
	}
}
</script>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt" style="text-indent:8px">Category List<span style="padding-left:160px;"><a href="news_catadd.php">Add Category</a></span></div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <form name="form1" action="" method="post">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
		      <br>	
              
               <tr  class="nowtable">
                <td class="left_bt2" style="padding-left:10px;"><input type="checkbox" id="allcheck" value="allcheck">No.</td><td class="left_bt2">Category Name</td> <td class="left_bt2">Sort</td><td class="left_bt2">Operation</td>
              </tr>	
            <{$shows}>
             <tr style="padding-top:10px;"><td>
<input type="button" value=" Check All " id="allchecks" name="submits"/>&nbsp; <input type="submit" value=" Delete " id="submit" name="submit" /></td></tr>
     </table>
     </form>
    </td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
